
import { Home, Chat, Collection, Friend, Group, Login } from "../moudle";


export const routes = [
  {
    path: "/",
    element: <Home />,
    children: [
      {
        path: "/chat",
        element: <Chat />
      },
      {
        path: "/collection",
        element: <Collection />
      },
      {
        path: "/friend",
        element: <Friend />
      }, {
        path: "/group",
        element: <Group />
      }
    ]
  },
  {
    path: "/login",
    element: <Login />
  }
]